import http from "../../request.js"

// 获取购物车列表
function findAllCartItem(data) {
	return http({
		url: `/lejuClient/cart/findAllCartItem`,
		data: data,//1308336521604599809
	})
}


// 添加购物车
function addCart(data) {
	return http({
		url: "/lejuClient/cart/addCart",
		data: data,//1308336521604599809
		method:"POST"
	})
}


// 清空购物车信息
function clearCart(data) {
	return http({
		url: `/lejuClient/cart/clearCart`,
		data: data,//1308336521604599809
		method:"POST"
	})
}

//删除多个购物车
function delCartItems(data) {
	return http({
		url: `/lejuClient/cart/delCartItems`,
		data: data,//1308336521604599809
		method:"POST"
	})
}



export {
	findAllCartItem,addCart,clearCart,delCartItems
}
